package cn.myframe.entity.sys;

import cn.myframe.entity.bus.BusCompanyEntity;
import com.baomidou.mybatisplus.annotations.TableId;

import java.io.Serializable;


/**
 * 系统用户信息
 * 
 * @author ynz
 * @email ynz@myframe.cn
 * @date 2017-05-24 09:15:06
 */
public class SysUserInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	@TableId
	private Long id;
	//运营商ID
	private Long companyId;
	//公众号appID
	private String appid;
	//公众号APPSECRET
	private String appsecret;
	//公众号TOKEN
	private String token;
	//商户号mchid
	private String mchid;
	//支付密钥apikey
	private String apikey;
	//支付证书地址
	private String url;
	//运营商
	private BusCompanyEntity company;
	//刷新令牌--不过时
    private String authorizerRefreshToken;
    //公众号头像
    public String icon;
    //公众号二维码地址
    public String qrCodeUrl;
	
	
    /**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：运营商ID
	 */
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
	/**
	 * 获取：运营商ID
	 */
	public Long getCompanyId() {
		return companyId;
	}
	/**
	 * 设置：公众号appID
	 */
	public void setAppid(String appid) {
		this.appid = appid;
	}
	/**
	 * 获取：公众号appID
	 */
	public String getAppid() {
		return appid;
	}
	/**
	 * 设置：公众号APPSECRET
	 */
	public void setAppsecret(String appsecret) {
		this.appsecret = appsecret;
	}
	/**
	 * 获取：公众号APPSECRET
	 */
	public String getAppsecret() {
		return appsecret;
	}
	/**
	 * 设置：公众号TOKEN
	 */
	public void setToken(String token) {
		this.token = token;
	}
	/**
	 * 获取：公众号TOKEN
	 */
	public String getToken() {
		return token;
	}
	/**
	 * 设置：商户号mchid
	 */
	public void setMchid(String mchid) {
		this.mchid = mchid;
	}
	/**
	 * 获取：商户号mchid
	 */
	public String getMchid() {
		return mchid;
	}
	/**
	 * 设置：支付密钥apikey
	 */
	public void setApikey(String apikey) {
		this.apikey = apikey;
	}
	/**
	 * 获取：支付密钥apikey
	 */
	public String getApikey() {
		return apikey;
	}
	/**
	 * 设置：支付证书地址
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * 获取：支付证书地址
	 */
	public String getUrl() {
		return url;
	}
	
	public BusCompanyEntity getCompany() {
        return company;
    }
    public void setCompany(BusCompanyEntity company) {
        this.company = company;
    }
	public String getAuthorizerRefreshToken() {
		return authorizerRefreshToken;
	}
	public void setAuthorizerRefreshToken(String authorizerRefreshToken) {
		this.authorizerRefreshToken = authorizerRefreshToken;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getQrCodeUrl() {
		return qrCodeUrl;
	}
	public void setQrCodeUrl(String qrCodeUrl) {
		this.qrCodeUrl = qrCodeUrl;
	}
	
    
    
}
